package com.adminsystem.java.excelFile.mapper;

import com.adminsystem.java.excelFile.pojo.entity.StudentScore;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @author wangpeiao
 */
@Mapper
public interface StudentScoreMapper {
    List<StudentScore> selectByCondition(
            @Param("className") String className,
            @Param("gender") String gender);

    int batchInsert(@Param("list") List<StudentScore> list);
    /**
     * 清空表中所有数据
     */
    void truncateTable();
}
